<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$route['default_controller'] = "home";
$route['404_override'] = '';
$route['lien-he'] = 'mod_contact';
//$route['gioi-thieu'] = 'mod_article/aboutus/';

$route['home/ajax'] = 'home/ajax';

$route['admin'] = 'admin';
$route['admin/(:any)'] = 'admin/$1';
$route['dangnhap'] = 'dangnhap/index/$1';
$route['dangnhap/(:any)'] = 'dangnhap/$1';

$route['cart/checkout'] = 'mod_cart/checkout';
$route['cart'] = 'mod_cart/cart';
$route['cart/(:any)'] = 'mod_cart/cart/$1';

$route['users'] = 'mod_users';
$route['users/(:any)'] = 'mod_users/$1';

$route['upsanpham'] = 'upsanpham';
$route['upsanpham/(:any)'] = 'upsanpham/$1';

$route['mod_currency/mod_currency/ajax'] = 'mod_currency/mod_currency/ajax';

$route['(:any).1'] = 'mod_product/category/$1';//danh muc san pham
$route['(:any).1/(:num)'] = 'mod_product/category/$1';//danh muc san pham
$route['(:any).8'] = 'mod_product/detail/$1';// chi tiet san pham

$route['gopy/(:any)'] = 'mod_search/$1';
$route['(:any).0'] = 'mod_article/category/$1';
$route['(:any).0/(:num)'] = 'mod_article/category/$1';
$route['(:any).6'] = 'mod_article/detail/$1';
$route['search'] = 'mod_search';
$route['search/(:num)'] = 'mod_search/index/$1';


//$route['(:any)'] = 'mod_article/index/$1';
/* End of file routes.php */
/* Location: ./application/config/routes.php */